package com.shen;

import java.io.File;

/**
 * Author:shen
 * CreateDate:2020/6/3.
 * Function:
 */
public class demo01 {
    public static void main(String[] args) {
        File[] files = File.listRoots();//输出所有盘符
        for (File file:files) {
            System.out.println(file);
        }
    }
}
